package com.eshop.modules.activity.service.dto;

import java.io.Serializable;

public class StoreCouponIssueUserDto implements Serializable
{
    private Integer id;
    private Integer uid;
    private Integer issueCouponId;
    private Integer addTime;
    
    public Integer getId() {
        return this.id;
    }
    
    public Integer getUid() {
        return this.uid;
    }
    
    public Integer getIssueCouponId() {
        return this.issueCouponId;
    }
    
    public Integer getAddTime() {
        return this.addTime;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setUid(final Integer uid) {
        this.uid = uid;
    }
    
    public void setIssueCouponId(final Integer issueCouponId) {
        this.issueCouponId = issueCouponId;
    }
    
    public void setAddTime(final Integer addTime) {
        this.addTime = addTime;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCouponIssueUserDto)) {
            return false;
        }
        final StoreCouponIssueUserDto other = (StoreCouponIssueUserDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$issueCouponId = this.getIssueCouponId();
        final Object other$issueCouponId = other.getIssueCouponId();
        Label_0139: {
            if (this$issueCouponId == null) {
                if (other$issueCouponId == null) {
                    break Label_0139;
                }
            }
            else if (this$issueCouponId.equals(other$issueCouponId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$addTime = this.getAddTime();
        final Object other$addTime = other.getAddTime();
        if (this$addTime == null) {
            if (other$addTime == null) {
                return true;
            }
        }
        else if (this$addTime.equals(other$addTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCouponIssueUserDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $issueCouponId = this.getIssueCouponId();
        result = result * 59 + (($issueCouponId == null) ? 43 : $issueCouponId.hashCode());
        final Object $addTime = this.getAddTime();
        result = result * 59 + (($addTime == null) ? 43 : $addTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCouponIssueUserDto(id=" + this.getId() + ", uid=" + this.getUid() + ", issueCouponId=" + this.getIssueCouponId() + ", addTime=" + this.getAddTime() + ")";
    }
}
